#include <stdio.h>
#include "securec.h"


int Cmp(const void *a, const void *b)
{
    return *(int *)a - *(int *)b;
}

int main() {
    printf("Hello, World!\n");
    int tmp[100];
    memset_s(tmp, sizeof(tmp), -1, sizeof(tmp));
    printf_s("%d", tmp[99]);
    int test[100] = {0};
    for (int i = 0; i < 100; ++i) {
        test[i] = rand() % 100 + 1;
    }
    qsort(test, 100, sizeof (int), Cmp);
    for (int i = 0; i < 100; ++i) {
        printf(" %d   %d\n", i , test[i]);
    }
    return 0;
}
